package com.ssm.mapper;

import com.ssm.hj.search.RoleSearch;
import com.ssm.pojo.Role;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RoleMapper {
//  阿杰 查询所有角色
    List<Role> queryRoleAll(RoleSearch roleSearch) throws Exception;
//    阿杰 修改角色状态
    int updateRoleState(@Param("id") int id,@Param("state") int state) throws Exception;
}
